projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
755324c
)
common: Simplify get_clocks() #ifdef
author
Peng Fan
<
[email protected]
>
Fri, 30 Oct 2015 09:30:02 +0000
(17:30 +0800)
committer
Tom Rini
<
[email protected]
>
Thu, 12 Nov 2015 23:13:19 +0000
(18:13 -0500)
get_clocks is wrapped by CONFIG_FSL_CLK and CONFIG_M68K in seperate
piece code. They can be merged into one snippet.
Signed-off-by: Peng Fan <
[email protected]
>
Cc: Tom Rini <
[email protected]
>
Cc: Simon Glass <
[email protected]
>
Cc: Bin Meng <
[email protected]
>
Cc: Alexey Brodkin <
[email protected]
>
Cc: "
[email protected]
" <
[email protected]
>
Cc: Daniel Schwierzeck <
[email protected]
>
Cc: Stephen Warren <
[email protected]
>
Cc: "Andreas Bießmann" <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Acked-by: Angelo Dureghello <
[email protected]
>
common/board_f.c
patch
|
blob
|
history
diff --git
a/common/board_f.c
b/common/board_f.c
index 725eb18427f7296853c499dc41dcac0e79df6972..ed513058ee72bf7d9bb8ce88cd2d3070e793f03a 100644
(file)
--- a/
common/board_f.c
+++ b/
common/board_f.c
@@
-808,10
+808,7
@@
static init_fnc_t init_sequence_f[] = {
#if defined(CONFIG_BOARD_POSTCLK_INIT)
board_postclk_init,
#endif
-#ifdef CONFIG_SYS_FSL_CLK
- get_clocks,
-#endif
-#ifdef CONFIG_M68K
+#if defined(CONFIG_SYS_FSL_CLK) || defined(CONFIG_M68K)
get_clocks,
#endif
env_init, /* initialize environment */